<template>
	<div class="table">
		<ul class="table-header">
			<li class="item-stress">地区</li>
			<li>累计确诊</li>
			<li>治愈</li>
			<li>死亡</li>
		</ul>
		<ul class="table-body">
			<li v-for="(item, index) in dataSource" :key="index" class="table-province">
				<div class="item-stress">{{item.provinceName}}</div>
				<div>{{item.confirmedCount}}</div>
				<div>{{item.curedCount}}</div>
				<div>{{item.deadCount}}</div>
			</li>
		</ul>
	</div>
</template>

<script>
	export default {
		props: {
			dataSource: [Object, Array]
		},
		methods: {}
	}
</script>

<style>
	@import url("../styles/init.css");
</style>
